using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using SpoonCore2.Client;
using SpoonCore2.Message;
using SpoonCore2.Service;

namespace SpoonCore2.OverlayNetwork
{
	public interface IOverlayNetwork : IService
	{
		ClientInfo GetClientInfo(SpoonIdentifier id);
		ClientInfo ClientInfo { get;}
		void AddClient(IEnumerable<ClientInfo> clients);
		void AddClient(ClientInfo info);
		void AddBootstrap(IPEndPoint point);
		bool Check(List<ClientInfo> clients);
		bool Successor(SpoonIdentifier id);
	}
}